package com.b2bpsssm.mapper;

import com.b2bpsssm.pojo.Other_Expenses;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OtherExpensesMapper {
    // 有分页查询信息
    List<Other_Expenses> queryOtherExpensesList(@Param("start") Integer start, @Param("off") Integer off) ;
     //添加收款信息
   int addOtherExpenses(Other_Expenses other_expenses);
    // 以收支类型关键字 时间范围 进行关键字查询
   List<Other_Expenses> selOtherExpensesLikeType(@Param("start") Integer start, @Param("off") Integer off, @Param("other_expense_creation_time1") String other_expense_creation_time1, @Param("other_expense_creation_time2") String other_expense_creation_time2, @Param("other_expense_payment_type") String other_expense_payment_type);
    //  修改信息
    int updateOtherExpenses(Other_Expenses other_expenses);

    //   删除信息
    int delOtherExpensesByNumber(Other_Expenses other_expense_bills);
}
